import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { ResourceEntity } from '../resource/entities/resource.entity';
import { ResourceRoleEntity } from '../resource/entities/resource.role.entity';
import { RoleEntity } from './entities/role.entity';
import { RoleController } from './role.controller';
import { RoleService } from './role.service';

@Module({
  imports: [TypeOrmModule.forFeature([RoleEntity, ResourceEntity, ResourceRoleEntity])],
  controllers: [RoleController],
  providers: [RoleService],
})
export class RoleModule {}
